package com.hjt.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 商城主页二级分类Vo
 * @author:97007
 * @date:2021/9/21 19:25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Catelog2Vo{
    private String catalog1Id; // 一级分类的id
    private List<Catelog3Vo> catalog3List; // 三级分类列表
    private String id;
    private String name;


    // 三级分类
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Catelog3Vo{
        private String catalog2Id; // 二级分类的id
        private String id;
        private String name;
    }
}
